package com.xoa.service.financialManage.charge;


import com.baomidou.mybatisplus.service.IService;
import com.xoa.model.financialManage.charge.ChargePermission;
import com.xoa.model.financialManage.charge.ChargePermissionWithBLOBs;
import com.xoa.util.ToJson;

/**
 * <p>
 * 权限设置 服务类
 * </p>
 *
 * @author liujian
 * @since 2020-04-23
 */
public interface ChargePermissionService extends IService<ChargePermission> {

    //查询
    ToJson findPermissionAll(ChargePermissionWithBLOBs chargePermission, Integer page, Integer limit);

    //根据ID查询
    ToJson findPermissionById(ChargePermissionWithBLOBs chargePermission);

    //编辑和新增
    ToJson enidOrInsertPermission(ChargePermissionWithBLOBs chargePermission);

    //删除
    ToJson delPermissionIds(ChargePermissionWithBLOBs chargePermission);
}
